/*
* 发展历程节点
* title：标题
* content：内容
* type：类型，1朝左，2朝右
*
* */

'use strict';
var React = require('react');
var ReLeftbubbleBox=require('../../containers/pc/ReLeftBubbleBox.jsx');
var ReRightbubbleBox=require('../../containers/pc/ReRightBubbleBox.jsx');

class HkfsProcessItem extends React.Component {
    constructor(props) {
        super(props);
    }

    render(){
        return(
            <div className={this.props.type==1?"HkfsProcessItem LeftDirtion":"HkfsProcessItem RightDirtion"}>
                <div className="largeCircle">
                    <div className="smallCircle"></div>
                </div>
                <div>
                {this.props.type==1?<ReLeftbubbleBox reClass="HkfsProcessItemStyle">{this.props.children}</ReLeftbubbleBox>:<ReRightbubbleBox reClass="HkfsProcessItemStyle">{this.props.children}</ReRightbubbleBox>}
                </div>
            </div>
        )
    }
}

module.exports = HkfsProcessItem;